import { NavBar } from "antd-mobile";
import React from "react";
import { useNavigate } from "react-router-dom";
import gg from "../../assets/image/gug.png";

function Detail() {
  let nav = useNavigate();
  return (
    <div>
      <NavBar onBack={() => nav(-1)}>景区详情</NavBar>
      <img src={gg} style={{ width: "100vw", height: "200px" }} />
      <p>故宫博物馆</p>
    </div>
  );
}

export default Detail;
